package com.shop.cloud.domain.hongfu;

import java.sql.Timestamp;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.shop.cloud.common.mybatis.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 
 * invite_history-invite_history
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class InviteHistory extends BaseEntity{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 邀请者用户id号
	 */
	@ApiModelProperty(value = "邀请者用户id号")
	 private Long userId;
	/**
	 * 被邀请者用户id号
	 */
	@ApiModelProperty(value = "被邀请者用户id号")
	 private Long inviteUserId;
	/**
	 * 被邀请者注册的时间
	 */
	@ApiModelProperty(value = "被邀请者注册的时间")
	private Timestamp inviteTime;
	/**
	 * 被邀请者是否已登录过。0：否 1：是
	 */
	@ApiModelProperty(value = "被邀请者是否已登录过。0：否1：是")
	 private Integer isLogin;
	
	private String inviteUserNickName;
	
	private String inviteUserImg;
	
	private int inviteCount;
	
	private int invitePoints;
	
	private Float inviteAmount;
    
    public InviteHistory(){
    
    }
    
    public Long getUserId() {
        return this.userId;
    }
    
    public void setUserId(Long userId) {
        this.userId = userId;
    }
    public Long getInviteUserId() {
        return this.inviteUserId;
    }
    
    public void setInviteUserId(Long inviteUserId) {
        this.inviteUserId = inviteUserId;
    }
    public Timestamp getInviteTime() {
        return this.inviteTime;
    }
    
    public void setInviteTime(Timestamp inviteTime) {
        this.inviteTime = inviteTime;
    }
    public Integer getIsLogin() {
        return this.isLogin;
    }
    
    public void setIsLogin(Integer isLogin) {
        this.isLogin = isLogin;
    }

	public String getInviteUserNickName() {
		return inviteUserNickName;
	}

	public void setInviteUserNickName(String inviteUserNickName) {
		this.inviteUserNickName = inviteUserNickName;
	}

	public String getInviteUserImg() {
		return inviteUserImg;
	}

	public void setInviteUserImg(String inviteUserImg) {
		this.inviteUserImg = inviteUserImg;
	}

	public int getInviteCount() {
		return inviteCount;
	}

	public void setInviteCount(int inviteCount) {
		this.inviteCount = inviteCount;
	}

	public int getInvitePoints() {
		return invitePoints;
	}

	public void setInvitePoints(int invitePoints) {
		this.invitePoints = invitePoints;
	}

	public Float getInviteAmount() {
		return inviteAmount;
	}

	public void setInviteAmount(Float inviteAmount) {
		this.inviteAmount = inviteAmount;
	}

}